package com.ruoyi.payment.controller.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitConfig {

    @Bean
    public Queue reminderQueue() {
        return new Queue("reminderQueue", true); // 设置队列为持久化队列
    }

}